package com.clz.entity;

public class Employee {
    private String xing;
    private String name;
    private String sex;
    private int age;
    public Employee(){}

    public Employee(String xing, String name, String sex, int age) {
        this.xing = xing;
        this.name = name;
        this.sex = sex;
        this.age = age;
    }

    @Override
    public String toString() {
        return "Employee{" +
                "xing='" + xing + '\'' +
                ", name='" + name + '\'' +
                ", sex='" + sex + '\'' +
                ", age=" + age +'\''+
                '}'+"\n";
    }

    public String getXing() {
        return xing;
    }

    public String getName() {
        return name;
    }

    public String getSex() {
        return sex;
    }

    public int getAge() {
        return age;
    }
}
